package com.bnyy.message.bean;

import android.widget.Checkable;

import com.bnyy.common.bean.UserInfo;
import com.google.gson.annotations.SerializedName;

/**
 * Author : 关炳鹏
 * Description :
 * Date : 2022/11/9
 **/
public class Contact extends UserInfo implements Checkable {

    private boolean checked;

    private boolean no_disturb;
    @SerializedName("is_stick")
    private boolean topping;

    public boolean isNo_disturb() {
        return no_disturb;
    }

    public void setNo_disturb(boolean no_disturb) {
        this.no_disturb = no_disturb;
    }

    public boolean isTopping() {
        return topping;
    }

    public void setTopping(boolean topping) {
        this.topping = topping;
    }

    @Override
    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    @Override
    public boolean isChecked() {
        return checked;
    }

    @Override
    public void toggle() {
        setChecked(!checked);
    }
}
